package com.suse.warmstill.vo;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author 黄靖
 * @author 2022-10-26 13:05
 * description:
 **/
@Data
public class UserVo extends BaseVo {
    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户名")
    private String username;


    @ApiModelProperty("真实姓名")
    private String relName;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("用户头像")
    private String avatar;


    @ApiModelProperty("详细信息的id")
    private Long infoId;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("账号创建时间")
    private LocalDateTime gmtCreat;


    @ApiModelProperty("0 未禁用 1 禁用")
    private Integer status;


    @ApiModelProperty("对应的 roleId")
    private List<Long> roleId;

}
